class Thread < ActiveRecord::Base
  belongs_to :topic
  belongs_to :member
  belongs_to :author, :class_name => "Member"
  has_many :posts

  validates_presence_of :topic_id, :member_id, :subject
end
